import http from '@/api/http'

// 信息
export const index = (data) => {
    return http.get('/agent/index', data)
}
// 申请拓店
export const apply = (data) => {
    return http.post('/agent/apply', data)
}
// 申请拓店进度
export const applyInfo = () => {
    return http.get('/agent/applyInfo')
}
// 申请拓店进度
export const shopList = () => {
    return http.get('/agent/shopList')
}
// 收益列表
export const rebateList = () => {
    return http.get('/agent/rebateList')
}
// 待支付列表
export const paidLists = () => {
    return http.get('/agent/paidLists')
}
// 押金提现
export const takeDraw = (data) => {
    return http.post('/agent/take_draw',data)
}

export default {
	index,
	takeDraw,
	apply,
	applyInfo,
	shopList,
	rebateList,
	paidLists,
}